/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pl.raflik.queryxml.ui.tasks.io;

import pl.raflik.queryxml.ui.tasks.*;
import java.util.List;

/**
 *
 * @author raflik
 */
public class CommonQueryOutput {

    private List<?> queryResult;
    private QueryResultCode resultCode;

    public CommonQueryOutput(QueryResultCode resultCode) {
        this.resultCode = resultCode;
    }

    public CommonQueryOutput(QueryResultCode resultCode, List<?> queryResult) {
        this.resultCode = resultCode;
        this.queryResult = queryResult;
    }


    public QueryResultCode getResultCode() {
        return resultCode;
    }

    public List<?> getQueryResult() {
        return queryResult;
    }

}
